package com.yuju.hotel.dao.mapper;

import com.yuju.hotel.dao.entity.Room;
import com.yuju.hotel.model.RoomModel;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface RoomMapper extends BaseMapper<Room, String> {
    int deleteByPrimaryKey(String id);

    int selectCountByMap(Map<Object, Object> map);

    List<Room> selectListByMap(Map<Object, Object> map);

    int insert(Room record);

    int insertSelective(Room record);

    Room selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKey(Room record);

    List<Room> selectRoomByRoomType(RoomModel roomModel);

    int updateByIds(RoomModel roomModel);
}